<div id="slideandnav1">
<style type="text/css">
	#slideandnav1{
	height: 320px;
	width: auto;
	min-width: 1000px;
	margin-top: 0px;
	margin-right: 0px;
	min-height: 320px;
}
#slideandnav1 #leftlogin {
	float: left;
	height: 360px;
	width: 1000px;
	margin-top: 20px;
	margin-left: 180px;
	border: 1px inset #FFFFFF;
	background-color: #206080;
}

</style>
            <!-- login --------------------------------in -------------------------------------->  
  <div id="leftlogin">
    <h1 style=" color:white;font-size:24px; margin:10px 10px; border-bottom:1px dashed white;font-family:"Myriad pro", Helvetica, sans-serif;padding:2px; ">Login</h1>
    <form action="register.php" method="post" id="login" name="login">
      <p style="float:left;color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px;margin-top:10px; border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">名字<font style="color:red;">(字母）</font>: </span>       	
                      <input type="text" name="first_name" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['first_name']))
			echo "{$_POST['first_name']}";?>" />
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">学号:</span>
                    <input type="text" name="userid" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['userid']))
			echo "{$_POST['userid']}";?>"/>
      </p>
      <p style="float:left;color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px;margin-top:10px; border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">性别: </span>       	
                      <select size="1" name="sex" style="float:right; width:160px; height:30px;border-style:none;">
                      		<option value="男">男</option>
                            <option value="女">女</option>
                      </select>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">邮件:</span>
                    <input type="text" name="email" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['email']))
			echo "{$_POST['email']}";?>"/>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">学院:</span>
                    <input type="text" name="faculty" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['faculty']))
			echo "{$_POST['faculty']}";?>"/>
      </p>
       <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">密码:</span>
      <input type="password" name="pwd1" style="float:right; width:160px; height:30px;border-style:none;"/>
       </p>
      <p style=" float:left;color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">再次输入密码：</span>
      <input type="password" name="pwd2" style="float:right; width:160px; height:30px;border-style:none;"/>
       </p>
       <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">生日:</span>
                    <input type="text" name="birthday" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['birthday']))
			echo "{$_POST['birthday']}";?>"/>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">QQ:</span>
                    <input type="text" name="qq" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['qq']))
			echo "{$_POST['qq']}";?>"/>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">电话:</span>
                    <input type="text" name="tel" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['tel']))
			echo "{$_POST['tel']}";?>"/>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">宿舍号:</span>
                    <input type="text" name="address" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['address']))
			echo "{$_POST['address']}";?>"/>
      </p>
      <p style="float:left;color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px;margin-top:10px; border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">您是: </span>       	
                      <select size="1" name="usertype" style="float:right; width:160px; height:30px;border-style:none;">
                      		<option value="老师">老师</option>
                            <option value="志愿者">志愿者</option>
                      </select>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">找回密码问题: </span>
                    <input type="text" name="question" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['question']))
			echo "{$_POST['question']}";?>"/>
      </p>
      <p style="float:left; color:white;width:280px; margin-top:20px;"><span style=" font-size:14px; margin-left:10px; margin-top:10px;border-bottom:1px dashed white;font-family: Helvetica, sans-serif; ">答案： </span>
                    <input type="text" name="answer" style="float:right; width:160px; height:30px;border-style:none;" value="<?php if(!isset($_POST['answer']))
			echo "{$_POST['answer']}";?>"/>
      </p>
      
                   <!-- <input type="button" value="Login" style="border-style:none; background-color:white;margin-left:10px; margin-top:10px; width:122px; height:30px;"/><a href="register.php" style=" font-size:18px; text-align:center;border-style:none; background-color:white;margin-left:25px; margin-top:10px; width:122px; height:30px;display:block;">register</a>-->
      <br style="clear:both;" />
                    <input type="submit" name="submit" id="login" value="注册" onclick="return chk_lg();" style="border-style:none; background-color:white;margin-left:20px; margin-top:10px; width:152px; height:30px;"/> 
                    <a href="http://localhost/l_library/index.php" style=" font-size:14px; text-align:center;border-style:none;color:white;margin-left:25px; margin-top:10px; width:180px; height:60px; ">登陆</a>
       		  <input type="hidden" name="submitted" value="TRUE" style=" font-size:18px; text-align:center;border-style:none; background-color:white;margin-left:25px; margin-top:10px; width:122px; height:30px; "/>
    </form> 
    <a href="#" style="margin-left:10px;color:white;" >忘记密码？点这里</a>
  </div>
  </div>
